package com.house.tgroup.feign;

import com.house.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("user")
@RequestMapping("/user/user")
public interface FeignService {


    //feign调用通过名称（名称唯一性）查询记录
    @RequestMapping("/findByName")
    public String findByUserName(@RequestParam("uname") String name);
}
